<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" style="width: 100%;height: 100%">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link type="text/css" th:href="@{/static/css/tools/liCss.css}" rel="stylesheet">
    <link type="text/css" th:href="@{/static/css/table/userMain.css}" rel="stylesheet">
    <script type="text/javascript" th:src="@{/static/js/table/UserMainJS.js}"></script>

</head>
<body id="html">
<div id="contentMain" class="contentMain">
    <ul>
        <li th:each="user,state:${userMain}">
            <div class="">
                <p th:text="${user.name}"></p>&nbsp;
                <p th:text="${#dates.format(user.date,'yyyy-MM-dd')}"></p>
                <p th:text="${user.content}"></p>
            </div>
            <a th:href="@{/userDetail(name=${user.name},date=${#dates.format(user.date,'yyyy-MM-dd')},content=${user.content})}">详情</a>
        </li>

    </ul>
</div>
</body>
</html>